package cn.sherer.beans.douyin.playlet;

import java.io.Serializable;

/**
 * 抖音短剧播放信息
 */
public class DyPlayletVideoPlayInfo implements Serializable {
    private long size;
    private int bitrate;
    private String codec;
    private String format;
    private String play_url;
    private String url_expire;
    private String definition;

    public DyPlayletVideoPlayInfo() {
    }

    public DyPlayletVideoPlayInfo(long size, int bitrate, String codec, String format, String play_url, String url_expire, String definition) {
        this.size = size;
        this.bitrate = bitrate;
        this.codec = codec;
        this.format = format;
        this.play_url = play_url;
        this.url_expire = url_expire;
        this.definition = definition;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public int getBitrate() {
        return bitrate;
    }

    public void setBitrate(int bitrate) {
        this.bitrate = bitrate;
    }

    public String getCodec() {
        return codec;
    }

    public void setCodec(String codec) {
        this.codec = codec;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public String getPlay_url() {
        return play_url;
    }

    public void setPlay_url(String play_url) {
        this.play_url = play_url;
    }

    public String getUrl_expire() {
        return url_expire;
    }

    public void setUrl_expire(String url_expire) {
        this.url_expire = url_expire;
    }

    public String getDefinition() {
        return definition;
    }

    public void setDefinition(String definition) {
        this.definition = definition;
    }

    @Override
    public String toString() {
        return "DyPlayletVideoPlayInfo{" + "size=" + size + ", bitrate=" + bitrate + ", codec=" + codec + ", format=" + format + ", play_url=" + play_url + ", url_expire=" + url_expire + ", definition=" + definition + '}';
    }
}
